

nsresult readCodeFile(nsCString file, nsCString &str);
nsresult getAppPath(nsCString &path);

PyObject* PRUnicharToPyObject(const PRUnichar *str);
void PyObjectToPRUnichar(const PyObject *str, nsAString &result);